package com.qf.service.impl;

import com.qf.entity.Prescription;
import com.qf.mapper.PrescriptionMapper;
import com.qf.service.PrescriptionService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
/**
 * 处方表格，用于记录患者的处方信息(Prescription)表服务实现类
 *
 * @author makejava
 * @since 2024-12-07 16:18:00
 */
@Service("prescriptionService")
public class PrescriptionServiceImpl implements PrescriptionService {
    @Autowired
    private PrescriptionMapper prescriptionMapper;

    @Override
    public List<Prescription> list(Prescription prescription) {
        return this.prescriptionMapper.list(prescription);
    }


}
